﻿using System.Collections.Generic;
using Natural.Model;
using Natural.Attributes;

namespace Natural.Providers
{  
    public interface IData
    {
        List<object[]> Query(Expression expression);
        T[] Get<T>(Expression expression);
        void Update<T>(T entity, string includes=null) where T : class;
        void Delete<T>(T entity, string includes=null) where T : class;
    }
}
